% ctex-fontset-mac.def: Mac OS X 使用的华文字体设置，GB18030 字符集
% vim:ft=tex

\providebool{CTEX@temp}
\booltrue{CTEX@temp}

\ifCTEX@engines{xeCJK}{LuaCJK}{
  \setCJKmainfont[BoldFont=STHeiti,ItalicFont=STKaiti]{STSong}
  \setCJKsansfont[BoldFont=STHeiti]{STXihei}
  \setCJKmonofont{STFangsong}
  \setCJKfamilyfont{zhsong}{STSong}
  \setCJKfamilyfont{zhhei} {STHeiti}
  \setCJKfamilyfont{zhfs}  {STFangsong}
  \setCJKfamilyfont{zhkai} {STKaiti}
}{\boolfalse{CTEX@temp}}

\ifbool{CTEX@temp}{
  \newcommand*\songti  {\CJKfamily{zhsong}}  % 宋体
  \newcommand*\heiti   {\CJKfamily{zhhei}}   % 黑体
  \newcommand*\kaishu  {\CJKfamily{zhkai}}   % 楷书
  \newcommand*\fangsong{\CJKfamily{zhfs}}    % 仿宋
}{}

\endinput
